package com.service.screenWeb.dao;

import com.service.screenWeb.dto.PosterDto;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface FileUploadDao {

    void add2AssemblyAndSlide(@Param("assemblyId") String assemblyId,@Param("posterId") String posterId,@Param("programmeId") String programmeId,@Param("interval")String interval);
    void add2AssemblyAndPoster(@Param("assemblyId") String assemblyId,@Param("posterId") String posterId,@Param("programmeId") String programmeId);

    int findPosterByAssemblyId(@Param("assemblyId") String assemblyId, @Param("programmeId") String programmeId);

    int deletePosterByAssemblyId(@Param("assemblyId") String assemblyId, @Param("programmeId") String programmeId);

    PosterDto getPosterDic(@Param("assemblyId") String assemblyId, @Param("programmeId") String programmeId);

    List<PosterDto> getSlideInfo(@Param("assemblyId") String assemblyId, @Param("programmeId") String programmeId);

    void updateInterval(@Param("assemblyId") String assemblyId, @Param("programmeId") String programmeId, @Param("interval") String interval);
}
